﻿using System;

namespace Codemonk.Common.Emit
{
    /// <summary>
    /// 类型访问器工厂
    /// </summary>
    public interface ITypeAccessorFactory : IFactory<TypeAccessor> 
    {
        /// <summary>
        /// 按照类型获取一个类型访问器
        /// </summary>
        /// <param name="type">类型</param>
        /// <returns>类型访问器</returns>
        TypeAccessor GetByType(Type type);
    }
}
